package com.polytech.web.client.table;

import java.util.ArrayList;
import java.util.List;

import com.polytech.web.client.model.Person;

public class DataSource {

  private final List<Person> users;
  private List<String> header;

  public DataSource(List<Person> users) {
    header = new ArrayList<String>();
    header.add("Last Name");
    header.add("First Name");
    header.add("Birthday");
    header.add("Country");
    //header.add("Education");
    //header.add("Work Place");
    
    this.users = users;
  }

  public List<Person> getUsers() {
    return users;
  }

  public List<String> getTableHeader() {
    return header;
  }
}